home *** CD-ROM | disk | FTP | other *** search
- unit DAXDoc_TLB;
-
- // ************************************************************************ //
- // WARNING //
- // ------- //
- // The types declared in this file were generated from data read from a //
- // Type Library. If this type library is explicitly or indirectly (via //
- // another type library referring to this type library) re-imported, or the //
- // 'Refresh' command of the Type Library Editor activated while editing the //
- // Type Library, the contents of this file will be regenerated and all //
- // manual modifications will be lost. //
- // ************************************************************************ //
-
- // PASTLWTR : $Revision: 1.11.1.75 $
- // File generated on 2/11/99 10:40:38 PM from Type Library described below.
-
- // ************************************************************************ //
- // Type Lib: C:\My Documents\DelphiMag, March99\DAXDoc\DAXDoc.tlb
- // IID\LCID: {C10BE34C-A81F-11D2-AF31-0000861EF0BB}\0
- // Helpfile:
- // HelpString: Delphi ActiveX Document Server
- // Version: 1.0
- // ************************************************************************ //
-
- interface
-
- uses Windows, ActiveX, Classes, Graphics, OleCtrls, StdVCL;
-
- // *********************************************************************//
- // GUIDS declared in the TypeLibrary. Following prefixes are used: //
- // Type Libraries : LIBID_xxxx //
- // CoClasses : CLASS_xxxx //
- // DISPInterfaces : DIID_xxxx //
- // Non-DISP interfaces: IID_xxxx //
- // *********************************************************************//
- const
- LIBID_DAXDoc: TGUID = '{C10BE34C-A81F-11D2-AF31-0000861EF0BB}';
- IID_IDelphiAxDoc: TGUID = '{C10BE34D-A81F-11D2-AF31-0000861EF0BB}';
- CLASS_DelphiAxDoc: TGUID = '{C10BE34F-A81F-11D2-AF31-0000861EF0BB}';
- type
-
- // *********************************************************************//
- // Forward declaration of interfaces defined in Type Library //
- // *********************************************************************//
- IDelphiAxDoc = interface;
- IDelphiAxDocDisp = dispinterface;
-
- // *********************************************************************//
- // Declaration of CoClasses defined in Type Library //
- // (NOTE: Here we map each CoClass to its Default Interface) //
- // *********************************************************************//
- DelphiAxDoc = IDelphiAxDoc;
-
-
- // *********************************************************************//
- // Interface: IDelphiAxDoc
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {C10BE34D-A81F-11D2-AF31-0000861EF0BB}
- // *********************************************************************//
- IDelphiAxDoc = interface(IDispatch)
- ['{C10BE34D-A81F-11D2-AF31-0000861EF0BB}']
- end;
-
- // *********************************************************************//
- // DispIntf: IDelphiAxDocDisp
- // Flags: (4416) Dual OleAutomation Dispatchable
- // GUID: {C10BE34D-A81F-11D2-AF31-0000861EF0BB}
- // *********************************************************************//
- IDelphiAxDocDisp = dispinterface
- ['{C10BE34D-A81F-11D2-AF31-0000861EF0BB}']
- end;
-
- CoDelphiAxDoc = class
- class function Create: IDelphiAxDoc;
- class function CreateRemote(const MachineName: string): IDelphiAxDoc;
- end;
-
- implementation
-
- uses ComObj;
-
- class function CoDelphiAxDoc.Create: IDelphiAxDoc;
- begin
- Result := CreateComObject(CLASS_DelphiAxDoc) as IDelphiAxDoc;
- end;
-
- class function CoDelphiAxDoc.CreateRemote(const MachineName: string): IDelphiAxDoc;
- begin
- Result := CreateRemoteComObject(MachineName, CLASS_DelphiAxDoc) as IDelphiAxDoc;
- end;
-
- end.
-